package com.create404.suishoupai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.create404.suishoupai.entity.Announcement;
import com.create404.suishoupai.mapper.AnnouncementMapper;
import com.create404.suishoupai.service.IAnnouncementService;
import com.create404.suishoupai.vo.AnnouncementListItemVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author create404
 * @since 2021-07-17
 */
@Service
public class AnnouncementServiceImpl extends ServiceImpl<AnnouncementMapper, Announcement> implements IAnnouncementService {

    @Override
    public List<AnnouncementListItemVO> getAnnouncementList() {
        return this.baseMapper.getAnnouncementList();
    }
}
